package Util;

public class Account {
    String name,password;
    long regdate,runningdays,maxrunningdays;
    public Account()
    {
        name=password="";
        regdate=runningdays=maxrunningdays=0;
    }
    public Account(String name,String password,long regdate,long runningdays,long maxrunningdays)
    {
        this.name=name;
        this.password=password;
        this.regdate=regdate;
        this.runningdays=runningdays;
        this.maxrunningdays=maxrunningdays;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setRegdate(long regdate) {
        this.regdate = regdate;
    }

    public void setRunningdays(long runningdays) {
        this.runningdays = runningdays;
    }

    public void setMaxrunningdays(long maxrunningdays) {
        this.maxrunningdays = maxrunningdays;
    }

    public String getPassword() {
        return password;
    }

    public String getName() {
        return name;
    }

    public long getRegdate() {
        return regdate;
    }

    public long getMaxrunningdays() {
        return maxrunningdays;
    }

    public long getRunningdays() {
        return runningdays;
    }
}
